import Header from '@/components/header/Header.vue'
import Footer from '@/components/foot/Foot.vue'
import CategoryItem from '@/components/categoryItem/categoryItem.vue'

import axios from 'axios'
export default {
  name: 'Home',
  created () {
    axios.get('http://www.mei.com/appapi/home/eventForH5?params=%7B%7D&timestamp=1588052929094&summary=76cdf22316781c842cf6007f4001d069&platform_code=H5')
      .then(res => {
        this.homeData = res.data.lists
      })
      .catch((err) => {
        console.log(err)
      })
  },
  components: {
    Header,
    Footer,
    CategoryItem
  },
  data () {
    return {
      homeData: null
    }
  },
  methods: {
  }
}
